package com.example.parttimejob.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("reviews")
public class Reviews {
   @TableId(value = "review_id",type= IdType.AUTO)
   private Integer reviewId;
   private Integer targetId;
   private Integer reviewerId;
   private String reviewerCategory;
   private Integer rating;
   private String comments;
   private Date  timestamps;
}
